package com.wrb.pwd.model;

import java.util.Date;
import java.util.List;

/**
 * @author wrb
 * @date 2019/9/11 16:16
 */
public class User {

	/**
	 * 唯一标识
	 */
	private String id;

	/**
	 * 可以是平台名称 也可以是平台网址
	 */
	private String platform;

	private String name;

	private String password;

	private String email;

	private String remark;

	private Date createTime;

	private Date updateTime;

	/**
	 * 辅助邮箱
	 */
	private String auxiliaryEmail;

	private String phone;

	private List<ValidationQuestion> validationQuestionList;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAuxiliaryEmail() {
		return auxiliaryEmail;
	}

	public void setAuxiliaryEmail(String auxiliaryEmail) {
		this.auxiliaryEmail = auxiliaryEmail;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public List<ValidationQuestion> getValidationQuestionList() {
		return validationQuestionList;
	}

	public void setValidationQuestionList(List<ValidationQuestion> validationQuestionList) {
		this.validationQuestionList = validationQuestionList;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "User{" +
				"id='" + id + '\'' +
				", platform='" + platform + '\'' +
				", name='" + name + '\'' +
				", password='" + password + '\'' +
				", email='" + email + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", auxiliaryEmail='" + auxiliaryEmail + '\'' +
				", phone='" + phone + '\'' +
				", validationQuestionList=" + validationQuestionList +
				'}';
	}
}
